package com.hunt.model.entity;


import java.io.Serializable;

/**
 * @author sjs
 * @className
 * @description
 * @date 2020/9/25
 */
public  class StockRealTime implements Serializable {

    private String name;

    //消息ID 4098:股票数据 4097:指数
    private String msgId;

    //时间
    private String dateTime;


    //交易阶段
    private String tradePhase;

    //代码
    private String code;

    //昨天收盘价*10000
    private float preClose = 0;

    //开盘价*10000
    private float open = 0;

    //最新价*10000
    private float newPrice = 0;

    //最高价*10000
    private float high = 0;

    //最低价*10000
    private float low = 0;

    //均价*10000
    private float avgPrice = 0;

    //股数（单位：个股）
    private long vol = 0l;

    //成交额*100
    private long money = 0l;

    //成交笔数
    private long numTrades = 0l;

    //涨跌幅
    private String hlPercent = "--";

    //买1数量(单位:个)
    private long buyVol1 = 0l;
    //买2数量(单位:个)
    private long buyVol2 = 0l;
    //买3数量(单位:个)
    private long buyVol3 = 0l;
    //买4数量(单位:个)
    private long buyVol4 = 0l;
    //买5数量(单位:个)
    private long buyVol5 = 0l;


    //买1金额*10000
    private double buyPrice1 = 0;
    //买2金额*10000
    private double buyPrice2 = 0;
    //买3金额*10000
    private double buyPrice3 = 0;
    //买4金额*10000
    private double buyPrice4 = 0;
    //买5金额*10000
    private double buyPrice5 = 0;


    //卖1数量(单位:个)
    private long sellVol1 = 0l;
    //卖2数量(单位:个)
    private long sellVol2 = 0l;
    //卖3数量(单位:个)
    private long sellVol3 = 0l;
    //卖4数量(单位:个)
    private long sellVol4 = 0l;
    //卖5数量(单位:个)
    private long sellVol5 = 0l;

    //卖1金额*10000
    private double sellPrice1 = 0;
    //卖2金额*10000
    private double sellPrice2 = 0;
    //卖3金额*10000
    private double sellPrice3 = 0;
    //卖4金额*10000
    private double sellPrice4 = 0;
    //卖5金额*10000
    private double sellPrice5 = 0;



  public String getName() {
       return name;
    }

   public void setName(String name) {
       this.name = name;
   }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getTradePhase() {
        return tradePhase;
    }

    public void setTradePhase(String tradePhase) {
        this.tradePhase = tradePhase;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getPreClose() {
        return preClose;
    }

    public void setPreClose(float preClose) {
        this.preClose = preClose;
    }

    public float getOpen() {
        return open;
    }

    public void setOpen(float open) {
        this.open = open;
    }

    public float getNewPrice() {
        return newPrice;
    }

    public void setNewPrice(float newPrice) {
        this.newPrice = newPrice;
    }

    public float getHigh() {
        return high;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getLow() {
        return low;
    }

    public void setLow(float low) {
        this.low = low;
    }

    public float getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(float avgPrice) {
        this.avgPrice = avgPrice;
    }

    public long getVol() {
        return vol;
    }

    public void setVol(long vol) {
        this.vol = vol;
    }

    public long getMoney() {
        return money;
    }

    public void setMoney(long money) {
        this.money = money;
    }

    public long getNumTrades() {
        return numTrades;
    }

    public void setNumTrades(long numTrades) {
        this.numTrades = numTrades;
    }

    public String getHlPercent() {
        return hlPercent;
    }

    public void setHlPercent(String hlPercent) {
        this.hlPercent = hlPercent;
    }

    public long getBuyVol1() {
        return buyVol1;
    }

    public void setBuyVol1(long buyVol1) {
        this.buyVol1 = buyVol1;
    }

    public long getBuyVol2() {
        return buyVol2;
    }

    public void setBuyVol2(long buyVol2) {
        this.buyVol2 = buyVol2;
    }

    public long getBuyVol3() {
        return buyVol3;
    }

    public void setBuyVol3(long buyVol3) {
        this.buyVol3 = buyVol3;
    }

    public long getBuyVol4() {
        return buyVol4;
    }

    public void setBuyVol4(long buyVol4) {
        this.buyVol4 = buyVol4;
    }

    public long getBuyVol5() {
        return buyVol5;
    }

    public void setBuyVol5(long buyVol5) {
        this.buyVol5 = buyVol5;
    }

    public double getBuyPrice1() {
        return buyPrice1;
    }

    public void setBuyPrice1(double buyPrice1) {
        this.buyPrice1 = buyPrice1;
    }

    public double getBuyPrice2() {
        return buyPrice2;
    }

    public void setBuyPrice2(double buyPrice2) {
        this.buyPrice2 = buyPrice2;
    }

    public double getBuyPrice3() {
        return buyPrice3;
    }

    public void setBuyPrice3(double buyPrice3) {
        this.buyPrice3 = buyPrice3;
    }

    public double getBuyPrice4() {
        return buyPrice4;
    }

    public void setBuyPrice4(double buyPrice4) {
        this.buyPrice4 = buyPrice4;
    }

    public double getBuyPrice5() {
        return buyPrice5;
    }

    public void setBuyPrice5(double buyPrice5) {
        this.buyPrice5 = buyPrice5;
    }

    public long getSellVol1() {
        return sellVol1;
    }

    public void setSellVol1(long sellVol1) {
        this.sellVol1 = sellVol1;
    }

    public long getSellVol2() {
        return sellVol2;
    }

    public void setSellVol2(long sellVol2) {
        this.sellVol2 = sellVol2;
    }

    public long getSellVol3() {
        return sellVol3;
    }

    public void setSellVol3(long sellVol3) {
        this.sellVol3 = sellVol3;
    }

    public long getSellVol4() {
        return sellVol4;
    }

    public void setSellVol4(long sellVol4) {
        this.sellVol4 = sellVol4;
    }

    public long getSellVol5() {
        return sellVol5;
    }

    public void setSellVol5(long sellVol5) {
        this.sellVol5 = sellVol5;
    }

    public double getSellPrice1() {
        return sellPrice1;
    }

    public void setSellPrice1(double sellPrice1) {
        this.sellPrice1 = sellPrice1;
    }

    public double getSellPrice2() {
        return sellPrice2;
    }

    public void setSellPrice2(double sellPrice2) {
        this.sellPrice2 = sellPrice2;
    }

    public double getSellPrice3() {
        return sellPrice3;
    }

    public void setSellPrice3(double sellPrice3) {
        this.sellPrice3 = sellPrice3;
    }

    public double getSellPrice4() {
        return sellPrice4;
    }

    public void setSellPrice4(double sellPrice4) {
        this.sellPrice4 = sellPrice4;
    }

    public double getSellPrice5() {
        return sellPrice5;
    }

    public void setSellPrice5(double sellPrice5) {
        this.sellPrice5 = sellPrice5;
    }

    @Override
    public String toString() {
        return "StockRealTime{" +
                "name='" + name + '\'' +
                ", msgId='" + msgId + '\'' +
                ", dateTime='" + dateTime + '\'' +
                ", tradePhase='" + tradePhase + '\'' +
                ", code='" + code + '\'' +
                ", preClose=" + preClose +
                ", open=" + open +
                ", newPrice=" + newPrice +
                ", high=" + high +
                ", low=" + low +
                ", avgPrice=" + avgPrice +
                ", vol=" + vol +
                ", money=" + money +
                ", numTrades=" + numTrades +
                ", hlPercent='" + hlPercent + '\'' +
                ", buyVol1=" + buyVol1 +
                ", buyVol2=" + buyVol2 +
                ", buyVol3=" + buyVol3 +
                ", buyVol4=" + buyVol4 +
                ", buyVol5=" + buyVol5 +
                ", buyPrice1=" + buyPrice1 +
                ", buyPrice2=" + buyPrice2 +
                ", buyPrice3=" + buyPrice3 +
                ", buyPrice4=" + buyPrice4 +
                ", buyPrice5=" + buyPrice5 +
                ", sellVol1=" + sellVol1 +
                ", sellVol2=" + sellVol2 +
                ", sellVol3=" + sellVol3 +
                ", sellVol4=" + sellVol4 +
                ", sellVol5=" + sellVol5 +
                ", sellPrice1=" + sellPrice1 +
                ", sellPrice2=" + sellPrice2 +
                ", sellPrice3=" + sellPrice3 +
                ", sellPrice4=" + sellPrice4 +
                ", sellPrice5=" + sellPrice5 +
                '}';
    }
}
